import { amapAPI } from "../../utils/request.js" 

/**
 * 登录接口
 * @param { pageIndex <string> , pageSize <string> , socketCode <string> ,  }
 */
const login = config =>
  amapAPI.post('/api/auth/login', config)

const sendMsg = config => 
  amapAPI.post('/api/auth/sendMsg', config)

export {
  login,
  sendMsg
}